local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1
L0_1 = {}
L0_1.group_id = 133002088
L1_1 = {}
L2_1 = {}
L3_1 = 88012
L4_1 = 88013
L5_1 = 88014
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.branch_gadgets = L2_1
L2_1 = {}
L3_1 = 88011
L2_1[1] = L3_1
L1_1.main_gadget = L2_1
L2_1 = {}
L3_1 = 40
L2_1[1] = L3_1
L1_1.limit_time = L2_1
L1_1.puzzle_suit = 1
L1_1.group = 133002088
L2_1 = {}
L3_1 = 88015
L4_1 = 88016
L5_1 = 88017
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.mineral = L2_1
L1_1.challenge_gadget = 88018
L1_1.time = 210
L1_1.target_point = 88004
L1_1.optimiz_region = 88035
L1_1.banner_region = 88036
L2_1 = {}
L3_1 = 88006
L4_1 = 88020
L5_1 = 88021
L6_1 = 88031
L7_1 = 88032
L8_1 = 88033
L9_1 = 88001
L10_1 = 88003
L11_1 = 88002
L12_1 = 88019
L13_1 = 88034
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L1_1.monster_array = L2_1
L1_1.monster_min = 3
L1_1.monster_max = 3
L1_1.monster_count = 11
L2_1 = {}
L3_1 = {}
L3_1.config_id = 88001
L3_1.monster_id = 21020401
L4_1 = {}
L4_1.x = 1526.207
L4_1.y = 272.605
L4_1.z = -833.483
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 155.206
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 1007
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.climate_area_id = 1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 88002
L4_1.monster_id = 21010902
L5_1 = {}
L5_1.x = 1521.024
L5_1.y = 272.679
L5_1.z = -834.7
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 126.624
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 1007
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.climate_area_id = 1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 88003
L5_1.monster_id = 21010902
L6_1 = {}
L6_1.x = 1531.627
L6_1.y = 272.147
L6_1.z = -825.998
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 219.31
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L6_1 = {}
L7_1 = 1007
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.climate_area_id = 1
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 88006
L6_1.monster_id = 21020601
L7_1 = {}
L7_1.x = 1527.021
L7_1.y = 272.168
L7_1.z = -844.508
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 31.147
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L7_1 = {}
L8_1 = 1007
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.climate_area_id = 1
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 88019
L7_1.monster_id = 20010802
L8_1 = {}
L8_1.x = 1533.107
L8_1.y = 274.176
L8_1.z = -835.611
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 345.601
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L8_1 = {}
L9_1 = 1007
L10_1 = 1039
L8_1[1] = L9_1
L8_1[2] = L10_1
L7_1.affix = L8_1
L7_1.climate_area_id = 1
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 88020
L8_1.monster_id = 20010802
L9_1 = {}
L9_1.x = 1529.305
L9_1.y = 272.305
L9_1.z = -831.03
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 126.624
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L9_1 = {}
L10_1 = 1007
L11_1 = 1039
L9_1[1] = L10_1
L9_1[2] = L11_1
L8_1.affix = L9_1
L8_1.climate_area_id = 1
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 88021
L9_1.monster_id = 20010802
L10_1 = {}
L10_1.x = 1534.791
L10_1.y = 272.59
L10_1.z = -840.878
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 345.601
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L10_1 = {}
L11_1 = 1007
L12_1 = 1039
L10_1[1] = L11_1
L10_1[2] = L12_1
L9_1.affix = L10_1
L9_1.climate_area_id = 1
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 88031
L10_1.monster_id = 22010201
L11_1 = {}
L11_1.x = 1525.649
L11_1.y = 272.791
L11_1.z = -837.241
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 31.147
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L11_1 = {}
L12_1 = 1007
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.climate_area_id = 1
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 88032
L11_1.monster_id = 20010802
L12_1 = {}
L12_1.x = 1523.68
L12_1.y = 272.309
L12_1.z = -828.475
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 126.624
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L12_1 = {}
L13_1 = 1007
L14_1 = 1039
L12_1[1] = L13_1
L12_1[2] = L14_1
L11_1.affix = L12_1
L11_1.climate_area_id = 1
L11_1.area_id = 10
L12_1 = {}
L12_1.config_id = 88033
L12_1.monster_id = 20010802
L13_1 = {}
L13_1.x = 1514.933
L13_1.y = 274.176
L13_1.z = -836.603
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 93.673
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L13_1 = {}
L14_1 = 1007
L15_1 = 1039
L13_1[1] = L14_1
L13_1[2] = L15_1
L12_1.affix = L13_1
L12_1.climate_area_id = 1
L12_1.area_id = 10
L13_1 = {}
L13_1.config_id = 88034
L13_1.monster_id = 20010802
L14_1 = {}
L14_1.x = 1519.397
L14_1.y = 274.176
L14_1.z = -831.774
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 130.488
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_id = 1000100
L14_1 = {}
L15_1 = 1007
L16_1 = 1039
L14_1[1] = L15_1
L14_1[2] = L16_1
L13_1.affix = L14_1
L13_1.climate_area_id = 1
L13_1.area_id = 10
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 88004
L3_1.gadget_id = 70360105
L4_1 = {}
L4_1.x = 1531.225
L4_1.y = 272.282
L4_1.z = -843.628
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 88011
L4_1.gadget_id = 70220079
L5_1 = {}
L5_1.x = 1531.225
L5_1.y = 272.282
L5_1.z = -843.628
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 88012
L5_1.gadget_id = 70220082
L6_1 = {}
L6_1.x = 1542.106
L6_1.y = 270.864
L6_1.z = -862.293
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 284.903
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.persistent = true
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 88013
L6_1.gadget_id = 70220082
L7_1 = {}
L7_1.x = 1521.747
L7_1.y = 271.771
L7_1.z = -854.06
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 52.778
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.persistent = true
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 88014
L7_1.gadget_id = 70220082
L8_1 = {}
L8_1.x = 1532.751
L8_1.y = 272.216
L8_1.z = -831.718
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 261.085
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.persistent = true
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 88015
L8_1.gadget_id = 70590025
L9_1 = {}
L9_1.x = 1553.784
L9_1.y = 271.129
L9_1.z = -860.464
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 210.83
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 30
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 88016
L9_1.gadget_id = 70590025
L10_1 = {}
L10_1.x = 1517.33
L10_1.y = 272.237
L10_1.z = -859.641
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 203.98
L10_1.z = 14.435
L9_1.rot = L10_1
L9_1.level = 30
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 88017
L10_1.gadget_id = 70590025
L11_1 = {}
L11_1.x = 1518.524
L11_1.y = 271.409
L11_1.z = -825.117
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 26.418
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 30
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 88018
L11_1.gadget_id = 70360324
L12_1 = {}
L12_1.x = 1531.225
L12_1.y = 272.282
L12_1.z = -843.628
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 30
L11_1.area_id = 10
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 88010
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 40
L4_1 = {}
L4_1.x = 1531.225
L4_1.y = 272.282
L4_1.z = -843.628
L3_1.pos = L4_1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 88035
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 40
L5_1 = {}
L5_1.x = 1531.225
L5_1.y = 272.282
L5_1.z = -843.628
L4_1.pos = L5_1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 88036
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 50
L6_1 = {}
L6_1.x = 1531.356
L6_1.y = 272.3
L6_1.z = -843.349
L5_1.pos = L6_1
L5_1.area_id = 10
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1088010
L3_1.name = "LEAVE_REGION_88010"
L4_1 = EventType
L4_1 = L4_1.EVENT_LEAVE_REGION
L3_1.event = L4_1
L3_1.source = "1"
L3_1.condition = "condition_EVENT_LEAVE_REGION_88010"
L3_1.action = "action_EVENT_LEAVE_REGION_88010"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1088022
L4_1.name = "VARIABLE_CHANGE_88022"
L5_1 = EventType
L5_1 = L5_1.EVENT_VARIABLE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_88022"
L4_1.action = "action_EVENT_VARIABLE_CHANGE_88022"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1088023
L5_1.name = "GADGET_CREATE_88023"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_CREATE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_CREATE_88023"
L5_1.action = "action_EVENT_GADGET_CREATE_88023"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1088028
L6_1.name = "SELECT_OPTION_88028"
L7_1 = EventType
L7_1 = L7_1.EVENT_SELECT_OPTION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_SELECT_OPTION_88028"
L6_1.action = "action_EVENT_SELECT_OPTION_88028"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1088029
L7_1.name = "CHALLENGE_SUCCESS_88029"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_SUCCESS
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_SUCCESS_88029"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "w1"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "w2"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 3
L5_1.name = "w3"
L5_1.value = 0
L5_1.no_refresh = false
L6_1 = {}
L6_1.configId = 4
L6_1.name = "lastID"
L6_1.value = 0
L6_1.no_refresh = false
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
variables = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 88005
L4_1.gadget_id = 70310015
L5_1 = {}
L5_1.x = 1530.424
L5_1.y = 271.466
L5_1.z = -858.164
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 88007
L5_1.gadget_id = 70310017
L6_1 = {}
L6_1.x = 1521.753
L6_1.y = 272.414
L6_1.z = -831.02
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.area_id = 10
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 1088008
L4_1.name = "GADGET_STATE_CHANGE_88008"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_88008"
L4_1.action = ""
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1088009
L5_1.name = "GADGET_STATE_CHANGE_88009"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_88009"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_88009"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1088024
L6_1.name = "GADGET_STATE_CHANGE_88024"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_88024"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_88024"
L7_1 = {}
L7_1.config_id = 1088025
L7_1.name = "GADGET_STATE_CHANGE_88025"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_88025"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_88025"
L8_1 = {}
L8_1.config_id = 1088026
L8_1.name = "GADGET_STATE_CHANGE_88026"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_88026"
L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_88026"
L9_1 = {}
L9_1.config_id = 1088027
L9_1.name = "VARIABLE_CHANGE_88027"
L10_1 = EventType
L10_1 = L10_1.EVENT_VARIABLE_CHANGE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_88027"
L9_1.action = "action_EVENT_VARIABLE_CHANGE_88027"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1088030
L10_1.name = "CHALLENGE_FAIL_88030"
L11_1 = EventType
L11_1 = L11_1.EVENT_CHALLENGE_FAIL
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_CHALLENGE_FAIL_88030"
L10_1.trigger_count = 0
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.triggers = L3_1
garbages = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 88011
L6_1 = 88012
L7_1 = 88013
L8_1 = 88014
L9_1 = 88015
L10_1 = 88016
L11_1 = 88017
L12_1 = 88018
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 88010
L6_1 = 88036
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "LEAVE_REGION_88010"
L6_1 = "VARIABLE_CHANGE_88022"
L7_1 = "GADGET_CREATE_88023"
L8_1 = "SELECT_OPTION_88028"
L9_1 = "CHALLENGE_SUCCESS_88029"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 88035
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
suites = L2_1
function L2_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if L2_2 ~= 88010 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_LEAVE_REGION_88010 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.StopChallenge
  L3_2 = A0_2
  L4_2 = 1
  L5_2 = 0
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_LEAVE_REGION_88010 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = A1_2.param1
  L3_2 = A1_2.param2
  if L2_2 == L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 1 == L2_2 then
    L2_2 = A1_2.param1
    if 2 == L2_2 then
      L2_2 = A1_2.source_name
      if "puzzle_state" == L2_2 then
        goto lbl_18
      end
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_18::
  L2_2 = ScriptLib
  L2_2 = L2_2.PrintContextLog
  L3_2 = A0_2
  L4_2 = "\231\142\169\230\179\149\230\136\144\229\138\159 \229\136\155\229\187\186\233\154\144\229\189\162\230\147\141\228\189\156\229\143\176"
  L2_2(L3_2, L4_2)
  L2_2 = true
  return L2_2
end
condition_EVENT_VARIABLE_CHANGE_88022 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 88004
  L5_2 = GadgetState
  L5_2 = L5_2.GearStop
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_VARIABLE_CHANGE_88022 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = L1_1.challenge_gadget
  L3_2 = A1_2.param1
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_CREATE_88023 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetWorktopOptionsByGroupId
  L3_2 = A0_2
  L4_2 = L1_1.group
  L5_2 = L1_1.challenge_gadget
  L6_2 = {}
  L7_2 = 7
  L6_2[1] = L7_2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_CREATE_88023 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = L1_1.challenge_gadget
  L3_2 = A1_2.param1
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 7 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_SELECT_OPTION_88028 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = L1_1.group
  L6_2 = L1_1.main_gadget
  L6_2 = L6_2[1]
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "\230\178\161\230\156\137\230\191\128\230\180\187\230\136\144\229\138\159\239\188\140\229\136\155\229\187\186\230\154\180\233\163\142\233\155\170"
    L2_2(L3_2, L4_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ActiveChallenge
    L3_2 = A0_2
    L4_2 = 1
    L5_2 = 2003010
    L6_2 = L1_1.time
    L7_2 = L1_1.group
    L8_2 = L1_1.monster_count
    L9_2 = 0
    L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ShowReminder
    L3_2 = A0_2
    L4_2 = 400098
    L2_2(L3_2, L4_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.CreateGadget
    L3_2 = A0_2
    L4_2 = {}
    L5_2 = L1_1.target_point
    L4_2.config_id = L5_2
    L2_2(L3_2, L4_2)
  else
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "\230\191\128\230\180\187\230\136\144\229\138\159\239\188\140\230\183\187\229\138\160\232\131\189\229\138\155"
    L2_2(L3_2, L4_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ActiveChallenge
    L3_2 = A0_2
    L4_2 = 1
    L5_2 = 2003014
    L6_2 = L1_1.time
    L7_2 = L1_1.group
    L8_2 = L1_1.monster_count
    L9_2 = 0
    L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ShowReminder
    L3_2 = A0_2
    L4_2 = 400097
    L2_2(L3_2, L4_2)
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.DelWorktopOptionByGroupId
  L3_2 = A0_2
  L4_2 = L1_1.group
  L5_2 = L1_1.challenge_gadget
  L6_2 = 7
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AutoMonsterTide
  L3_2 = A0_2
  L4_2 = 1
  L5_2 = L1_1.group
  L6_2 = L1_1.monster_array
  L7_2 = L1_1.monster_count
  L8_2 = L1_1.monster_min
  L9_2 = L1_1.monster_max
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_SELECT_OPTION_88028 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 88004
  L5_2 = GadgetState
  L5_2 = L5_2.GearStop
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_88029 = L2_1
L2_1 = require
L3_1 = "V2_3/WinterCampDevice"
L2_1(L3_1)
